<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>查看人防意见</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Cache-Control" content="no-siteapp,no-transform,no-store, no-cache, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <link rel="stylesheet" href="/static/css/font.css">
    <link rel="stylesheet" href="/static/css/weadmin.css">
    <script type="text/javascript" src="/lib/layui/layui.js" charset="utf-8"></script>
    <!--<script type="text/javascript" src="/templates/act/process-xl.js"></script>-->
    <style>
        body{
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
            padding:20px 40px;
        }
        .center{
            text-align: center;
        }
    </style>
</head>
<body>
<form>
    <table class="layui-table">
        <colgroup>
            <col width="40">
            <col width="200">
            <col>
        </colgroup>
        <tbody>
        <tr>
            <td class="center">备案部门</td>
            <td id="rfRecordOrgName"></td>
        </tr>
        <tr>
            <td class="center">处理时间</td>
            <td id="rfRecordTime"></td>
        </tr>
        <tr>
            <td class="center">备案结果</td>
            <td id="rfRecordResult"></td>
        </tr>
        <tr>
            <td style="height: 150px"class="center">备案意见</td>
            <td>
                <textarea id="rfRecordAdvise"  placeholder="请输入内容" class="layui-textarea layui-disabled" disabled></textarea>
            </td>
        </tr>
        </tbody>
    </table>
</form>
<script src="/static/js/main.js"></script>
<script>
    layui.use(['configureCom', 'configure', 'form', 'sessionFun', 'jquery'], function () {
        var configure = layui.configure;
        var configureCom = layui.configureCom;
        var sessionFun = layui.sessionFun;
        var form = layui.form;
        var $ = layui.jquery;
        var listData = sessionFun.get(configure.SESSION_PROJECT_WAIT_LIST_DATA);

        configureCom.postDataAjax(configure.PROJECT_APPLY_DETAIL_INFO_HTTP,{decId:listData.decId}).then(function (res) {
            console.log(res);
            $('#rfRecordOrgName').html(res.prjDeclare.rfRecordOrgName);
            $('#rfRecordResult').html(res.prjDeclare.rfRecordResult);
            $('#rfRecordTime').html(res.prjDeclare.rfRecordTime);
            $('#rfRecordAdvise').val(res.prjDeclare.rfRecordAdvise)
        });

        //监听提交
        form.on('submit(formDemo)', function(data){
            layer.msg(JSON.stringify(data.field));
            return false;
        });
    });
</script>
</body>
</html>